package com.ruoyi.erp.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 事业部对象 business_unit
 * 
 * @author sauger
 * @date 2022-03-14
 */
@Data
public class BusinessUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 事业部名称 */
    @Excel(name = "事业部名称")
    private String name;

    /** 事业部编码 */
    @Excel(name = "事业部编码")
    private String code;

    /** 注释 */
    private String description;

    private List<BusinessUnitDepartment> departments;

}
